$header-height: 100rpx;

#__vconsole {
    display: none;
}

* {
    // font-size: 14px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.uni-picker-container .uni-picker-action.uni-picker-action-confirm {
    color: #006B54;
}



.uni-input-placeholder,
.uni-textarea-placeholder {
    color: #484B5B !important;
    font-size: 24rpx;
    font-weight: normal;
}

.pub_page_bg {
    // background: url("@/static/aimg/img_1.png") top center no-repeat #F9F9F9;
    background-size: 100vw auto;
    // background-color: #F9F9F9;
    min-height: 100vh;
}

.pub_hidden {
    overflow: hidden !important;
}

.pub_nodata_1 {
    width: 100%;
    height: 384rpx;
    background: url("@/static/common/nodata_1.png") top 80rpx center no-repeat;
    background-size: 220rpx;
    line-height: 60rpx;
    text-align: center;
    font-size: 24rpx;
    color: #ADADAD;
    padding: 280rpx 0 0 0;
    border-radius: 24rpx;
}

.pub_nodata_2 {
    width: 100%;
    line-height: 60rpx;
    text-align: center;
    font-size: 24rpx;
    color: #888;
}

.pub_tabbar_padding {
    padding-bottom: 100rpx;
}

.pub_header_padding {
    padding-top: calc(100rpx + var(--status-bar-height));
}

.pub_page_scroll {
    height: 100vh;
    overflow-y: scroll;
}

.pub_page.pub_header_padding .pub_page_scroll {
    height: calc(100vh - 100rpx - var(--status-bar-height));
    overflow-y: scroll;
}

.pub_page.pub_tabbar_padding .pub_page_scroll {
    height: calc(100vh - 100rpx);
    overflow-y: scroll;
}

.pub_page.pub_header_padding.pub_tabbar_padding .pub_page_scroll {
    height: calc(100vh - 100rpx - var(--status-bar-height) - 100rpx);
    overflow-y: scroll;
}

.pub_line_20 {
    width: 100%;
    height: 40rpx;
}

.pub_line_30 {
    width: 100%;
    height: 60rpx;
}

.pub_header {
    width: 100%;
    height: calc(100rpx + var(--status-bar-height));
    position: fixed;
    left: 0;
    top: 0;
    padding: var(--status-bar-height) 0 0 0;
    display: flex;
    z-index: 1000000;

    .h_search {
        $search-height: 80rpx;
        width: calc(100% - 130rpx);
        margin: 10rpx 0 0 100rpx;
        height: $search-height;
        display: flex;
        background-color: #f8f8f8;
        border-radius: 10rpx;

        .h_input_box {
            width: calc(100% - 80rpx);
            height: $search-height;
            border-radius: calc($search-height / 2);

            .h_input {
                height: $search-height;
                line-height: $search-height;
                color: #333;
                font-size: 28rpx;
                padding: 0 0 0 40rpx;
            }
        }

        .h_btn {
            width: 80rpx;
            height: 80rpx;
            background: url("@/static/aimg/img_7.png") center no-repeat;
            background-size: 40rpx;
        }
    }

    .h_left {
        min-width: 100rpx;
        height: $header-height;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .h_left_1 {
        padding: 0 20rpx;
        line-height: $header-height;
        text-align: center;
        max-width: 180rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 26rpx;
    }

    .h_left_2 {
        background-position: center;
        background-repeat: no-repeat;
        background-size: 40rpx;
    }

    .h_left_3 {
        background-position: center;
        background-repeat: no-repeat;
        background-size: 36rpx;
        display: flex;
        justify-content: center;
        align-items: center;

        .icon_dark {
            font-size: 32rpx;
            color: #333333;
        }

        .icon_white {
            font-size: 32rpx;
            color: #fff;
        }
    }

    .h_right {
        min-width: 100rpx;
        height: $header-height;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .h_right_1 {
        padding: 0 20rpx;
        height: 64rpx;
        line-height: 64rpx;
        border-radius: 33rpx;
        bottom: calc((100rpx - 64rpx) / 2);
        right: 28rpx;
        text-align: right;
        min-width: 140rpx;
        max-width: 180rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 24rpx;
    }

    .h_right_2 {
        background-position: center;
        background-repeat: no-repeat;
        background-size: 40rpx;
    }

    .h_title {
        max-width: 50%;
        margin: 0 auto;
        height: $header-height;
        line-height: $header-height;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 34rpx;
        font-weight: bold;
    }

    .h_title_left {
        margin: 0 0 0 100rpx;
    }

    .h_title_left_0 {
        margin: 0 0 0 20rpx;
    }
}

// .pub_header_bg {
//     // background: url("@/static/aimg/img_1.png") top center no-repeat;
//     // background-size: 100vw auto;
// }

.pub_loading {
    padding: 40rpx 0;
    position: relative;
    z-index: 100;

    .loading {
        background: url("@/static/common/loading_1.png") center no-repeat;
        width: 80rpx;
        height: 80rpx;
        background-size: 60rpx;
        animation: van-rotate 1.1s linear infinite;
        margin: 0 auto;
    }

    .text {
        line-height: 40rpx;
        text-align: center;
        font-size: 26rpx;
        color: #969799;
    }
}


@-webkit-keyframes van-rotate {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(720deg);
        transform: rotate(720deg)
    }
}

@keyframes van-rotate {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(720deg);
        transform: rotate(720deg)
    }
}

uni-toast {
    z-index: 10000000;
}

.uni-system-preview-image {
    z-index: 100000000;
}

.uni-picker-container {
    z-index: 100000000;
}

.pub_dialog {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000000;

    .d_box {
        width: calc(100% - 60rpx);
        padding: 100rpx 0 100rpx 0;
        position: fixed;
        top: 43%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        border-radius: 32rpx;
        background: url("@/static/aimg/img_32.png") center no-repeat;
        background-size: 100% 100%;


        .d_title {
            width: 100%;
            line-height: 40rpx;
            text-align: center;
            color: #4E89FE;
            font-weight: bold;
            font-size: 40rpx;
        }

        .d_content {
            width: 100%;
            line-height: 40rpx;
            color: #485774;
            padding: 80rpx 48rpx 120rpx 46rpx;
            font-size: 28rpx;

            .input_div_new {
                width: calc(100% - 50rpx);
                margin: 0 auto;
                background-color: #fff;
                border-radius: 20rpx;

                .li {
                    padding: 20rpx 40rpx 20rpx 30rpx;
                    position: relative;
                    margin-bottom: 40rpx;

                    .picker {
                        width: 100%;
                        height: 60rpx;

                        .picker_txt {
                            height: 60rpx;
                            line-height: 60rpx;
                            color: #666;
                            font-size: 28rpx;
                            font-weight: bold;
                        }
                    }

                    .input {
                        height: 60rpx;
                        line-height: 60rpx;
                        color: #333;
                        font-size: 32rpx;
                        font-weight: bold;
                    }

                    .uni-input-placeholder,
                    .uni-textarea-placeholder {
                        color: #888 !important;
                        font-size: 28rpx;
                        font-weight: normal;
                    }

                    .input_right_btn {
                        font-size: 24rpx;
                        padding: 0 30rpx;
                        color: #006B54;
                        line-height: 60rpx;
                        border: 3rpx solid #006B54;
                        border-radius: 30rpx;
                        position: absolute;
                        right: 0;
                        top: 16rpx;
                        font-weight: bold;
                    }
                }

                .li:last-child {
                    margin-bottom: 0;
                }

                .li_txt {
                    line-height: 40rpx;
                    font-size: 24rpx;
                    font-weight: bold;
                    color: #333;
                }
            }

            .msg {
                color: #B680FF;
                font-weight: bold;
                font-size: 24rpx;
                line-height: 40rpx;
                width: calc(100% - 50rpx);
                margin: 60rpx auto 0 auto;
            }
        }

        .d_btns {
            width: 100%;
            height: 90rpx;
            display: flex;
            justify-content: space-between;
            padding: 0 80rpx;

            .d_btn {
                width: 45%;
                color: #fff;
                line-height: 90rpx;
                text-align: center;
                font-size: 28rpx;
                font-weight: bold;
                border-radius: 45rpx;
            }

            .d_btn:nth-child(1) {
                background-color: #fff;
                color: #485774;
            }

            .d_btn:nth-child(2) {
                background-image: linear-gradient(to right, #4E4FFE, #87DDFE);
            }
        }
    }
}

.pub_tabbar {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000000;
    background-color: #fff;
    height: 100rpx;
    display: flex;
    // box-shadow: 0 0 10rpx 4rpx rgba(0, 0, 0, 0.06);

    .li {
        flex: 1;
        position: relative;

        .img {
            width: 48rpx;
            height: 48rpx;
            display: block;
            position: absolute;
            top: 10rpx;
            left: 50%;
            margin: 0 0 0 -24rpx;
        }

        .text {
            width: 100%;
            text-align: center;
            line-height: 34rpx;
            color: #333333;
            font-size: 22rpx;
            position: absolute;
            bottom: 4rpx;
            left: 0;
        }
    }

    .li_active {
        .text {
            color: #1661F6;
        }
    }

    // .li_middle {
    //     .img {
    //         width: 80rpx;
    //         height: 80rpx;
    //         display: block;
    //         position: absolute;
    //         top: -24rpx;
    //         left: 50%;
    //         margin: 0 0 0 -40rpx;
    //     }
    // }
}

// .pub_tabbar::before {
//     width: 100vw;
//     height: 132rpx;
//     position: fixed;
//     bottom: 0;
//     left: 0;
//     // z-index: 999999;
//     background: url("@/static/bimg/img_1.png") top center no-repeat;
//     background-size: 100vw auto;
//     content: "";
// }

.pub_btn {
    width: 100%;
    margin: 0 auto;
    background-image: linear-gradient(to right, #87DDFE, #4E89FE);
    line-height: 100rpx;
    height: 100rpx;
    text-align: center;
    color: #fff;
    font-size: 32rpx;
    box-sizing: border-box;
    font-weight: bold;
    border-radius: 50rpx;
    letter-spacing: 2rpx;
}

.pub_btn_normal {
    width: 100%;
    margin: 0 auto;
    color: #4E89FE;
    border: 2rpx solid #4E89FE;
    line-height: 96rpx;
    height: 100rpx;
    text-align: center;
    border-radius: 50rpx;
    font-size: 32rpx;
    font-weight: bold;
    box-sizing: border-box;
    letter-spacing: 2rpx;
    background-color: #fff;
}

.pub_btn_txt {
    width: 100%;
    margin: 0 auto;
    color: #4E89FE;
    line-height: 100rpx;
    height: 100rpx;
    text-align: center;
    border-radius: 50rpx;
    font-size: 32rpx;
    font-weight: bold;
    box-sizing: border-box;
    letter-spacing: 2rpx;
}

.pub_app_update {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000000;
    display: flex;
    align-items: center;

    .box {
        width: 620rpx;
        background: url("@/static/aimg/img_49.png") top center no-repeat;
        background-size: 620rpx 100%;
        height: 624rpx;
        border-radius: 40rpx;
        margin: 0 auto;
        padding: 120rpx 50rpx 80rpx 50rpx;
        position: relative;

        .title {
            line-height: 50rpx;
            font-size: 40rpx;
            color: #fff;
            font-weight: bold;
        }

        .p_1 {
            line-height: 40rpx;
            font-size: 28rpx;
            color: #fff;
            margin: 30rpx 0 50rpx 0;
        }

        .pro {
            width: 70%;
            height: 20rpx;
            border-radius: 10rpx;
            background-color: #ddd;
            position: absolute;
            bottom: 80rpx;
            left: 15%;

            .pro_has {
                height: 20rpx;
                border-radius: 10rpx;
                background-image: linear-gradient(to right, #FF9240, #FF0505);
            }
        }


        .btn {
            width: 50%;
            height: 80rpx;
            line-height: 80rpx;
            text-align: center;
            font-size: 30rpx;
            color: #fff;
            // background-color: #FF5853;
            border-radius: 40rpx;
            position: absolute;
            bottom: 40rpx;
            left: 25%;
            background-image: linear-gradient(to right, #FF9240, #FF0505);
        }
    }
}

.pub_preserve {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000000;
}

.pub_inputs {
    width: 100%;

    .abox {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .ali {
            width: 100%;
            background-color: #fff;
            border-radius: 24rpx;
            margin: 32rpx 0 0 0;
            padding: 36rpx 40rpx;
            display: flex;
            flex-wrap: wrap;
            position: relative;

            .atitle {
                width: 30%;
                color: #333;
                font-size: 28rpx;
                line-height: 40rpx;
                font-weight: bold;
            }

            .ainput {
                width: 70%;
                color: #333;
                font-size: 28rpx;
                line-height: 40rpx;
            }

            .atext {
                width: 70%;
                color: #333;
                font-size: 28rpx;
                line-height: 40rpx;
            }

            .uni-input-placeholder,
            .uni-textarea-placeholder {
                color: #B5B5B5 !important;
            }

            .ainput_w {
                width: 40% !important;
            }

            .ainput_right_btn {
                line-height: 40rpx;
                color: #333;
                font-size: 28rpx;
                position: absolute;
                right: 30rpx;
            }

            .ainput_right_btn_no {
                color: #B5B5B5;
            }

            .ainput_right_icon {
                position: relative;
                padding: 0 40rpx 0 0;
            }

            .ainput_right_icon::before {
                // background: url("") right center no-repeat;
                background-size: 14rpx;
                width: 30rpx;
                height: 30rpx;
                position: absolute;
                right: 0;
                top: 50%;
                margin-top: -15rpx;
                content: "";
            }

            .apicker {
                width: 70%;
                position: relative;
                padding: 0 40rpx 0 0;

                input {
                    color: #333;
                    font-size: 28rpx;
                    line-height: 40rpx;
                }

                .icon-font-basic {
                    height: 40rpx;
                    width: 100%;
                    font-size: 24rpx;
                    color: #AAAAAA;
                    position: absolute;
                    top: 0;
                    right: 0;
                    padding: 10rpx 0 0 0;
                    text-align: right;
                }
            }

            .atextarea {
                width: 100%;
                color: #333;
                font-size: 28rpx;
                line-height: 40rpx;
                height: 200rpx;
                margin-top: 20rpx;
                background-color: rgba(255, 255, 255, 0.09);
                border-radius: 8rpx;
                padding: 20rpx;
            }

            .atextarea_1 {
                width: 70%;
                margin-top: 0;
            }

            .atabs {
                width: 100%;
                display: flex;
                flex-wrap: wrap;

                .tab {
                    height: 60rpx;
                    line-height: 60rpx;
                    margin: 20rpx 20rpx 0 0;
                    background-color: rgba(255, 255, 255, 0.2);
                    color: #333;
                    font-size: 28rpx;
                    border-radius: 30rpx;
                    padding: 0 40rpx;
                }

                .tab_avtive {
                    background-image: linear-gradient(to right, #08AE83, #006B54);
                    color: #fff;
                }
            }

            .img_lis {
                width: 100%;
                display: flex;
                flex-wrap: wrap;

                .img_li {
                    width: 130rpx;
                    height: 130rpx;
                    position: relative;
                    margin: 20rpx 20rpx 0 0;

                    .img {
                        width: 130rpx;
                        height: 130rpx;
                        overflow: hidden;
                        border-radius: 8rpx;
                    }

                    .del {
                        width: 30rpx;
                        height: 30rpx;
                        border-radius: 50%;
                        position: absolute;
                        right: -10rpx;
                        top: -10rpx;
                        background-color: #FF5E5E;
                        padding: 10rpx;
                    }

                }

                .img_no {
                    width: 130rpx;
                    height: 130rpx;
                    position: relative;
                    // background: url("") center no-repeat rgba(255, 255, 255, 0.2);
                    background-size: 30rpx;
                    margin: 20rpx 20rpx 0 0;
                    border-radius: 8rpx;
                }
            }

            .video_lis {
                width: 100%;

                .video_li {
                    width: 100%;
                    height: 300rpx;
                    position: relative;
                    margin: 20rpx 0 0 0;

                    .video {
                        width: 100%;
                        height: 300rpx;
                        overflow: hidden;
                        border-radius: 8rpx;
                    }

                    .del {
                        width: 40rpx;
                        height: 40rpx;
                        border-radius: 50%;
                        position: absolute;
                        right: -10rpx;
                        top: -10rpx;
                        z-index: 10;
                    }

                }

                // .video_no {
                //     width: 100%;
                //     height: 300rpx;
                //     position: relative;
                //     background: url("") top 100rpx center no-repeat #F9F9F9;
                //     background-size: 60rpx;
                //     margin: 20rpx 20rpx 0 0;
                //     border-radius: 8rpx;
                //     text-align: center;
                //     line-height: 40rpx;
                //     font-size: 28rpx;
                //     color: #ADADAD;
                //     padding: 170rpx 0 0 0;
                // }
            }
        }

        .ali_disabled {
            opacity: 0.7;
        }

        .ali_align_right {
            .ainput {
                text-align: right;
            }

            .apicker {
                input {
                    text-align: right;
                }
            }
        }

        .ali:first-child {
            margin: 0;
        }

        .ali_1 {
            width: 48%;
        }

    }

    .abox_msg_1 {
        color: #333333;
        font-size: 24rpx;
        line-height: 40rpx;
        padding: 0 0 0 10rpx;
        font-weight: bold;
    }

    .abox_msg_2 {
        color: #999;
        font-size: 24rpx;
        line-height: 40rpx;
        padding: 0 0 0 10rpx;

        .span {
            color: #FF0909;
            padding: 0 4rpx;
            font-weight: bold;
        }
    }
}

.pub_ad_box {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;

    .ad_div {
        width: 630rpx;
        height: 1066rpx;
        background: url("@/static/aimg/img_66.png") center no-repeat;
        background-size: 630rpx 1066rpx;
        padding: 98rpx 10rpx 10rpx 10rpx;
        position: relative;

        .img_box {
            width: 610rpx;
            max-height: 958rpx;
            overflow-y: scroll;
            border-radius: 20rpx;

            .img {
                width: 610rpx;
                height: auto;
                display: block;
            }
        }

        .close {
            width: 52rpx;
            height: 52rpx;
            background: url("@/static/aimg/img_67.png") center no-repeat;
            background-size: 52rpx;
            position: absolute;
            right: 8rpx;
            top: 20rpx;
        }
    }
}